package net.linku.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.linku.model.BaseDTO;

/**
    * 后台用户角色和菜单表
    */
@ApiModel(description="后台用户角色和菜单表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "l_a_role_menu")
public class LARoleMenu extends BaseDTO<LARoleMenu> {
    /**
     * 角色id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="角色id")
    private Long id;

    /**
     * 租户id, 值集 0 是大众租户 1是后端集团租户
     */
    @TableField(value = "tenant_id")
    @ApiModelProperty(value="租户id, 值集 0 是大众租户 1是后端集团租户")
    private Long tenantId;

    /**
     * 角色id
     */
    @TableField(value = "role_id")
    @ApiModelProperty(value="角色id")
    private Long roleId;

    /**
     * 菜单id
     */
    @TableField(value = "menu_id")
    @ApiModelProperty(value="菜单id")
    private Long menuId;
}